export default {
  tabs: true,
  tabsActive: 1,
  emptyBtn: false,
  submitBtn: false,
  group: [
    {
      label: '基础信息',
      prop: 'info',
      column: [
        {
          label: "昵称",
          prop: "nickname",
          slot: true,
          span: 12,
          disabled: true,
          row: true,
        },
        {
          label: "姓名",
          prop: "name",
          slot: true,
          span: 12,
          disabled: true,
          row: true,
        },
        {
          label: '头像',
          type: 'upload',
          listType: 'picture-img',
          propsHttp: {
            res: 'data',
            url: 'link',
          },
          action: '/api/blade-resource/oss/endpoint/put-file',
          tip: '只能上传jpg/png用户头像，且不超过500kb',
          span: 12,
          disabled: true,
          row: true,
          prop: 'avatar'
        },
        {
          label: "手机",
          prop: "phone",
          span: 12,
          disabled: true,
          placeholder: false,
          row: true,
        },
        {
          label: "标签",
          prop: "label",
          span: 12,
          disabled: true,
          formslot: true,
          placeholder: false,
          row: true,
        },
        {
          label: "生日",
          prop: "birthday",
          type: "date",
          format: "yyyy-MM-dd",
          valueFormat: "yyyy-MM-dd",
          span: 12,
          disabled: true,
          row: true,
        },
        {
          label: "性别",
          prop: "sex",
          span: 12,
          type: "select",
          disabled: true,
          dicData: [
            {
              label: "男",
              value: 1
            },
            {
              label: "女",
              value: 2
            },
            {
              label: "未知",
              value: 3
            }
          ],
          row: true,
        },
        {
          label: "身高",
          prop: "height",
          type: 'number',
          span: 12,
          disabled: true,
          formslot: true,
          placeholder: false,
          row: true,
        },
        {
          label: "体重",
          prop: "weight",
          type: 'number',
          span: 12,
          disabled: true,
          formslot: true,
          placeholder: false,
          row: true,
        },
        {
          label: "腰围",
          prop: "waistline",
          type: 'number',
          span: 12,
          disabled: true,
          formslot: true,
          placeholder: false,
          row: true,
        },
        {
          label: "臀围",
          prop: "hipline",
          type: 'number',
          span: 12,
          disabled: true,
          formslot: true,
          placeholder: false,
          row: true,
        },
        {
          label: "注册时间",
          prop: "createTime",
          type: "date",
          format: "yyyy-MM-dd hh:mm:ss",
          valueFormat: "yyyy-MM-dd hh:mm:ss",
          span: 12,
          disabled: true,
          placeholder: false,
          row: true,
        },
      ]
    },
    // {
    //   label: '周配餐配置',
    //   prop: 'packages',
    //   column: [
    //     {
    //       label: "",
    //       prop: "packages",
    //       slot: true,
    //       span: 24,
    //       row: true,
    //     },
    //   ]
    // },
    {
      label: '购买记录',
      prop: 'packagesOrder',
      column: [
        {
          label: "",
          prop: "packagesOrder",
          slot: true,
          span: 24,
          row: true,
        },
      ]
    },
    {
      label: '选餐计划',
      prop: 'cookbook',
      column: [
        {
          label: "",
          prop: "cookbook",
          slot: true,
          span: 24,
          row: true,
        },
      ]
    },
    {
      label: '余额明细',
      prop: 'amount',
      column: [
        {
          label: "",
          prop: "amount",
          slot: true,
          span: 24,
          row: true,
        },
      ]
    },
    {
      label: '地址管理',
      prop: 'address',
      column: [
        {
          label: "",
          prop: "address",
          slot: true,
          span: 24,
          row: true,
        },
      ]
    },
  ],
}
